using System;
//这个类是模拟我们数据库当中的用户表信息
[Table("User")]
[PrimaryKey("Id", autoIncrement = true)]
public class User
{
    [Column("Id")]
    public int Id { get; set; }
    [Column("UserId")]
    public string UserIdTest { get; set; }
    [Column("UserName")]
    public string UserName { get; set; }
    [Column("Password")]
    public string Password { get; set; }
    [Column("CreateTime")]
    public DateTime CreateTime { get; set; }
    [Column("Status")]
    public bool Status { get; set; }
    [Column("RoleType")]
    public RoleType RoleType { get; set; }


}
public enum RoleType : int
{
    common = 1,
    admin
}